<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>导入Excel表</title>
<link href="/widget/bootstrap/3.3.7/css/bootstrap.css" rel="stylesheet"  type="text/css"/>
 {cssjs}
<link href="/res/css/inside_page.css" rel="stylesheet"  type="text/css"/>
</head>
<body>
<div class="col-xs-12 col-sm-12 col-md-12">
	<form method="post" action="/html/placement/srv/doExcel.php" enctype="multipart/form-data" class="layui-form layui-form-pane" target="iframe1" style="overflow:hidden;width:540px;float:left;">
		<label class="layui-form-label" style="width:150px;float:left;">导入Excel表：</label>
		<div class="layui-input-block" style="float:left;margin-left:10px;">
<<<<<<< .mine
            <a href="javascript:;" class="layui-btn layui-btn-normal" id="up_file">上传Excel表格</a>
			<input  type="file" id="file_in" style="display: none;" name="excel" class="layui-btn layui-btn-primary"/>
||||||| .r23
			<input  type="file" name="excel" class="layui-btn layui-btn-primary"/>
=======
			<!--<input  type="file" name="excel" class="layui-btn layui-btn-primary"/>-->
			<a href="javascript:;" class="layui-btn layui-btn-normal" id="up_file" style="float:left;">上传Excel表格</a>
			<div class="layui-input" style="float:left;width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;" id="up_content"></div>
			<input  type="file" id="file_in" style="display: none;" name="excel" class="layui-btn layui-btn-primary"/>
>>>>>>> .r27
		</div>
		<div class="layui-input-block" style="float:left;margin-left:10px;">
			
			<input type="submit"  value="导入" class="layui-btn"/>
		</div>
	</form>
	<form method="post" action="/html/placement/srv/outPutExcel.php" enctype="multipart/form-data" class="layui-form layui-form-pane" target="iframe2" style="float:left;margin-left:10px;">
		<input type="submit"  value="导出Excel" class="layui-btn"/>
	</form>
    <span id="up_centen"></span>
</div>
<iframe name="iframe1" width="850" height="400" frameborder="0"></iframe>
<iframe name="iframe2" width="0" height="0" frameborder="0" style="display:none;"></iframe>
   {jsmodel}
   <script type="text/javascript">
        layui.use('placement_excel');
       $("#up_file").click(function () {
           $("#file_in").trigger("click");
       });
        //           $("#file_in").change(function () {
        //               $("#up_centen").html($(this).val());
        //           })
    </script>
</body>
</html>